package com.beerandjesus.blackjack.deck;


/**
 * User: reverend
 * Date: Jul 1, 2005
 * Time: 1:31:09 AM
 */
public class Suit {
    private String type;
    public static final Suit HEART = new Suit("Heart");
    public static final Suit SPADE = new Suit("Spade");
    public static final Suit DIAMOND = new Suit("Diamond");
    public static final Suit CLUB = new Suit("Club");

    public Suit(String type) {
        this.type = type;
    }

    public boolean equals(Object o) {
        return ((Suit)o).getType().equals(this.type);
    }

    public String getType() {
        return this.type;
    }

    public String getTypePlural() {
        return this.type + "s";
    }
}
